﻿using System;
using System.Collections.Generic;

namespace EasyDDD.AdminModule.Models;

public partial record SysAdmin
{
    /// <summary>
    /// 软删除
    /// </summary>
    public virtual bool IsDeleted { get; set; } = default!;

    /// <summary>
    /// 租户ID
    /// </summary>
    public virtual int TenantId { get; set; } = default!;

    public virtual Guid Id { get; set; } = default!;

    /// <summary>
    /// 备注
    /// </summary>
    public virtual string Remark { get; set; } = default!;

    public virtual string UserName { get; set; } = default!;

    public virtual string NormalizedUserName { get; set; } = default!;

    public virtual string Email { get; set; } = default!;

    public virtual string NormalizedEmail { get; set; } = default!;

    public virtual bool EmailConfirmed { get; set; } = default!;

    public virtual string PasswordHash { get; set; } = default!;

    public virtual string SecurityStamp { get; set; } = default!;

    public virtual string ConcurrencyStamp { get; set; } = default!;

    public virtual string PhoneNumber { get; set; } = default!;

    public virtual bool PhoneNumberConfirmed { get; set; } = default!;

    public virtual bool TwoFactorEnabled { get; set; } = default!;

    public virtual DateTime? LockoutEnd { get; set; } = default!;

    public virtual bool LockoutEnabled { get; set; } = default!;

    public virtual int AccessFailedCount { get; set; } = default!;

    /// <summary>
    /// 账户状态
    /// </summary>
    public virtual short Status { get; set; } = default!;

    /// <summary>
    /// 昵称
    /// </summary>
    public virtual string NickName { get; set; } = default!;

    /// <summary>
    /// RefreshToken
    /// </summary>
    public virtual string RefreshToken { get; set; } = default!;

    /// <summary>
    /// 最后登录IP
    /// </summary>
    public virtual string LastIp { get; set; } = default!;

    /// <summary>
    /// 最后登录时间
    /// </summary>
    public virtual DateTime LastTime { get; set; } = default!;

    /// <summary>
    /// 行版本
    /// </summary>
    public virtual Guid RowVersion { get; set; } = default!;
}
